#ifndef DATUMEDITOR_H
#define DATUMEDITOR_H

#include <QStyledItemDelegate>

class Datumeditor : public QStyledItemDelegate
{
    Q_OBJECT
  public:
    explicit  Datumeditor(QObject *eltern = 0);
    QString   displayText(const QVariant& wert, const QLocale& sprache)const;
    QWidget*  createEditor(QWidget* eltern, const QStyleOptionViewItem& option, const QModelIndex& index)const;
    void      setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index)const;
    void      setEditorData(QWidget* editor, const QModelIndex& index)const;

  signals:

  public slots:

};

#endif // DATUMEDITOR_H
